From: Chong Yidong Date: Mon, 20 Jul 2009 14:21:27 +0000 (+0000) Subject: * files.el (hack-local-variables-filter): Fix last change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~11389 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=94314d1814eb51bb1a3600452c730b59b6b490e4;p=emacs.git * files.el (hack-local-variables-filter): Fix last change. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 042217c637e..2e7ad522a56 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-07-20 Chong Yidong + + * files.el (hack-local-variables-filter): Fix last change. + 2009-07-19 Juri Linkov * files.el (ignored-local-variables): Add `dir-local-variables-alist'. diff --git a/lisp/files.el b/lisp/files.el index ea74261601e..d12c770f5a5 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2973,7 +2973,7 @@ DIR-NAME is a directory name if these settings come from (or (and (eq enable-local-variables t) (null unsafe-vars) (null risky-vars)) - (eq enable-local-variables :all) + (memq enable-local-variables '(:all :safe)) (hack-local-variables-confirm all-vars unsafe-vars risky-vars dir-name)) (dolist (elt all-vars)